<?php

namespace catchAdmin\hunqing\tables\forms;

use catcher\library\form\Form;

class Staffs extends Form
{
    public function fields() :array
    {
        return [
            self::input('name', '员工姓名')->required(),
            self::input('tel', '电话(登录用)')->required()->appendValidates([
                self::validateMobile()
            ])->clearable(true),
            self::input('password', '密码')->required(),
            self::input('bak', '备注信息')->required(),
        ];


    }

}